package set;

public class StringTest {
    public static void main(String[] args) {
        String s1="a";
        String s2="b";
        System.out.println(s1.compareTo(s2));
        String s3="张三";
        String s4="李四";
        System.out.println(s3.compareTo(s4));
    }
}
